package io.coderyeah.order.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName t_order_pet_acquisition
 */
@TableName(value ="t_order_pet_acquisition")
@Data
public class OrderPetAcquisition implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 订单唯一编号
     */
    private String ordersn;

    /**
     * 摘要
     */
    private String digest;

    /**
     * 
     */
    private Date lastcomfirmtime;

    /**
     * 待处理 完成 取消
     */
    private Integer state;

    /**
     * 
     */
    private BigDecimal price;

    /**
     * 0垫付 1余额 2银行转账
     */
    private Integer paytype;

    /**
     * 
     */
    private Long petId;

    /**
     * 
     */
    private Long userId;

    /**
     * 
     */
    private Long shopId;

    /**
     * 收购宠物的地址
     */
    private String address;

    /**
     * 店员id
     */
    private Long empId;

    /**
     * 
     */
    private Long searchMasterMsgId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}